WPFront\Notification_Bar\WPFront_Notification_Bar_Controller D

Total Complexity 162
Dependencies 3
Dependents 2
Total lines 721
Lines of code 566
Logical lines of code 345
Comment lines 10
Methods 38
Properties 7

Methods 38

Method Rating Maintainability Complexity Lines of code
filter()
D
29 34 127
doing_ajax()
B
49 19 30
enqueue_scripts()
A
50 12 26
get_filter_objects()
A
45 10 40
write_markup()
A
44 6 47
filter_pages_contains()
S
50 7 27
set_landingpage_cookie()
S
60 7 12
write_debug_logs()
S
51 6 27
enabled()
S
57 4 18
get_message_text()
S
58 4 15
write_load_script()
S
54 3 29
get_button_text()
S
60 4 13
init()
S
59 3 15
display_on_page_load()
S
70 4 6
is_user_logged_in()
S
68 4 7
is_preview_mode()
S
67 3 8
settings_updated()
S
65 3 10
__construct()
S
67 3 7
plugins_loaded()
S
68 3 7
enqueue_styles()
S
64 3 9
get_log_prefix()
S
67 2 8
get_role_objects()
S
64 2 10
enqueue_options_scripts()
S
62 1 11
view()
S
76 1 4
enqueue_options_styles()
S
63 1 10
custom_css_url()
S
81 1 3
set_preview_mode()
S
75 1 4
remove_preview_mode()
S
78 1 3
get_html_id_suffix()
S
82 1 3
log()
S
75 1 4
get_plugin_file()
S
82 1 3
get_options()
S
82 1 3
admin_footer_text()
S
80 1 3
get_lang_domain()
S
81 1 3
get_entity_id()
S
82 1 3
get_preview_name()
S
75 1 4
get_preview_url()
S
78 1 3
message_allowed_html()
S
74 1 4